package com.kingyea.mobilepolice.apimanage.paraminfo.bean;

import java.io.Serializable;

/**
 * @author Mr.Lin
 * @version v1.0.0
 * @description ParamInfo 实体类
 * 参数详情，暂针对http接口
 * @date Created in 2018-03-11 11:20:04
 */
public class ParamInfo implements Serializable {

    private Integer id;
    /**
     * 接口id
     */
    private Integer serviceId;
    /**
     * 参数名称
     */
    private String name;
    /**
     * 参数位置：http接口:1.query 2.body 3.header 4.path 5.formData  WebService接口:下标
     */
    private Integer position;
    /**
     * 参数类型: 1.String 2.int 3.double
     */
    private Integer type;
    /**
     * 是否必填：0否 1是
     */
    private Integer isRequired;
    /**
     * 参数描述
     */
    private String description;

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getServiceId() {
        return this.serviceId;
    }

    public void setServiceId(Integer serviceId) {
        this.serviceId = serviceId;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getPosition() {
        return this.position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }

    public Integer getType() {
        return this.type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsRequired() {
        return this.isRequired;
    }

    public void setIsRequired(Integer isRequired) {
        this.isRequired = isRequired;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }


}
